//
// Created by wkm on 2023-12-03.
//

#include "drive_bank.h"

void drive_bank::prc_drive_bank() {
    sc_lv<BUS_SIZE> temp;
    int i;
    if (read_state) {
        for (i = 0; i < BUS_SIZE; i++)
            temp[i] = 'Z';
    } else
        temp = cpu_bus.read();

    main_bus = temp;
}